package beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author:zhengyilong
 * @email:1797344574@qq.com
 * @phone:13479394730
 * @desc:
 * @DateTime:2022/5/14 8:39
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class BlockBean implements Serializable {
    private long Timestamp;  //时间戳
    private byte[] Data;   //当前块的哈希
    private byte[] PrevBlockHash;  //上一个区块的哈希
    private byte[] Hash;   //区块存储的实际有效信息
    private long nonce;     //随机数
}

